export default type => {
    /**
     * @params Browser || Hash
     */
    if (type === 'Browser') {
        return require('history')[`createBrowserHistory`]();
    } else {
        return require('history')[`createHashHistory`]();
    }
};
